package com.atguigu.gulimall.member.feign.hystrix;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.member.feign.CouponFeignService;
import org.springframework.stereotype.Component;


/**
 * <p>
 *
 * </p>
 *
 * @since : 2023-02-22 14:43
 */
@Component
public class CouponFeignServiceFallback implements CouponFeignService {
    /**
     * @return
     */
    @Override
    public R membercoupons() {
        return R.error("服务器繁忙，请稍后再试！");
    }

}
